package com.data2wisdom.comm.base.model;

import java.util.ArrayList;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;

public class APIDataResponse {
	  public static final int SUCCESS = 0;//请求状态
	    public static final int FAIL = -1;
	    @ApiModelProperty(value = "消息编号：0=成功，<0表示异常")
	    private int msgCode = SUCCESS;
	    @ApiModelProperty(value = "消息内容")
	    private String msg = "成功";
		
	   private List<String> keyFields = new ArrayList<>();
	    private List<String> valueFields = new ArrayList<>();
	    
	    
	    
	    
		public APIDataResponse(List<String> keyFields, List<String> valueFields) {
			super();
			this.keyFields = keyFields;
			this.valueFields = valueFields;
		}
		public APIDataResponse() {
			super();
		}
		public List<String> getKeyFields() {
			return keyFields;
		}
		public void setKeyFields(List<String> keyFields) {
			this.keyFields = keyFields;
		}
		public List<String> getValueFields() {
			return valueFields;
		}
		public void setValueFields(List<String> valueFields) {
			this.valueFields = valueFields;
		}
		public int getMsgCode() {
			return msgCode;
		}
		public void setMsgCode(int msgCode) {
			this.msgCode = msgCode;
		}
		public String getMsg() {
			return msg;
		}
		public void setMsg(String msg) {
			this.msg = msg;
		}
		
	    
	    
}
